package com.ruoyi.business.common.enums.material;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zhengyz
 * @date 2025/3/11
 */
@Getter
@AllArgsConstructor
public enum RefMaterialTypeEnum {

    PRODUCT_LIKE_QUERY("PRODUCT", null, "产品相关素材开头枚举，用于模糊搜索"),
    STORE_LIKE_QUERY("STORE", null, "门店相关素材开头枚举，用于模糊搜索"),
    SKU_LIKE_QUERY("SKU", null, "sku相关素材开头枚举，用于模糊搜索"),

    /**
     * 产品主图，关联product表主键
     */
    PRODUCT_MAIN_IMG("PRODUCT_MAIN_IMG", MaterialTypeEnum.PICTURE, "产品主图"),

    /**
     * 产品详情图，关联product表主键
     */
//    PRODUCT_DETAIL_IMG,

    /**
     * 产品规格图，关联product_sku表主键
     */

    PRODUCT_SKU_IMG("PRODUCT_SKU_IMG", MaterialTypeEnum.PICTURE, "产品规格图"),

    /**
     * 产品轮播图，关联product表主键
     */
    PRODUCT_BANNER_IMG("PRODUCT_BANNER_IMG", MaterialTypeEnum.PICTURE, "产品轮播图"),

    /**
     * 产品缩略图，关联product表主键
     */
    PRODUCT_THUMB_IMG("PRODUCT_THUMB_IMG", MaterialTypeEnum.PICTURE, "产品缩略图"),

    /**
     * 产品介绍，关联product表主键
     */
    PRODUCT_INTRO("PRODUCT_INTRO", MaterialTypeEnum.RICH_TEXT, "产品介绍"),

    /**
     * 店铺主图，关联store表主键
     */
    STORE_MAIN_IMG("STORE_MAIN_IMG", MaterialTypeEnum.PICTURE, "店铺主图"),

    /**
     * 店铺详情图，关联store表主键
     */
    STORE_DETAIL_IMG("STORE_DETAIL_IMG", MaterialTypeEnum.PICTURE, "店铺详情图"),

    /**
     * 店铺轮播图，关联store表主键
     */
//    STORE_BANNER_IMG("PRODUCT_MAIN_IMG", MaterialTypeEnum.PICTURE, "店铺轮播图"),

    /**
     * 店铺大厅图，关联store表主键
     */
    STORE_TABLE_IMG("STORE_TABLE_IMG", MaterialTypeEnum.PICTURE, "店铺大厅图"),

    /**
     * 店铺包厢图，关联store表主键
     */
    STORE_BOX_IMG("STORE_BOX_IMG", MaterialTypeEnum.PICTURE, "店铺包厢图"),
    SKU_IMG("SKU_IMG", MaterialTypeEnum.PICTURE, "sku图"),

    ORDER_AFTER_IMG("ORDER_AFTER_IMG", MaterialTypeEnum.PICTURE, "订单售后申请图"),

    ;

    private String value;
    private MaterialTypeEnum materialTypeEnum;
    private String desc;

}
